package com.example.forumbackend.entity.interaction;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * @author chenguo
 * @date 2021/9/30 18:16
 */
public class Appraise implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "评论唯一id")
    private String appraiseId;

    @ApiModelProperty(value = "1点赞 2点踩")
    private Integer appraiseCategory;

    @ApiModelProperty(value = "评价者id")
    private String userId;

    @ApiModelProperty(value = "评价者昵称")
    private String userName;

    @ApiModelProperty(value = "评价者头像")
    private String userAvatar;

    @ApiModelProperty(value = "评价创建时间")
    private Date gmtCreate;

}
